﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Windows;

namespace Bixas.Tangibilis.Controls
{
    public class TouchCursorState
    {
        // Fields
        private bool _isClicked;
        private bool _isOver;
        private DateTime _lastClickTime;
        private bool _isPressed;
        private Point _lastPosition;
        private int _cursorId;

        public TouchCursorState(int cursorId)
        {
            _cursorId = cursorId;
        }
        // Properties
        public bool IsClicked { get { return _isClicked; } set { this._isClicked = value; } }
        public bool IsOver { get { return _isOver; } set { this._isOver = value; } }
        public bool IsPressed { get { return _isPressed; } set { this._isPressed = value; } }
        public DateTime LastClickTime { get { return _lastClickTime; } set { this._lastClickTime = value; } }
       public Point LastPosition { get { return _lastPosition; } set { this._lastPosition = value; } }
       public int CursorId { get { return _cursorId; } set { this._cursorId = value; } }
    }
}
